<script setup lang="ts">
  import { computed } from 'vue';
  import { useRoute } from 'vue-router';
  const $route = useRoute()
</script>
<template>
  <router-view v-slot="{ Component }">
    <keep-alive include="index">
      <component :is="Component" ></component>
    </keep-alive>
  </router-view>
</template>